home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSTTTTAAAAUUUUXXXX((((3333XXXX)))) SSSSTTTTAAAAUUUUXXXX((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- staux - routines that provide scalar interfaces to auxiliaries
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
-
- lllloooonnnngggg sssstttt____aaaauuuuxxxxbbbbttttaaaadddddddd((((lllloooonnnngggg bbbbtttt))));;;;
-
- lllloooonnnngggg sssstttt____aaaauuuuxxxxbbbbttttssssiiiizzzzeeee((((lllloooonnnngggg iiiiaaaauuuuxxxx,,,, lllloooonnnngggg wwwwiiiiddddtttthhhh))));;;;
-
- lllloooonnnngggg sssstttt____aaaauuuuxxxxiiiissssyyyymmmmaaaadddddddd((((lllloooonnnngggg iiiissssyyyymmmm))));;;;
-
- lllloooonnnngggg sssstttt____aaaauuuuxxxxrrrrnnnnddddxxxxaaaadddddddd((((lllloooonnnngggg rrrrffffdddd,,,, lllloooonnnngggg iiiinnnnddddeeeexxxx))));;;;
-
- lllloooonnnngggg sssstttt____aaaauuuuxxxxrrrrnnnnddddxxxxaaaadddddddd((((lllloooonnnngggg iiiiddddnnnn))));;;;
-
- vvvvooooiiiidddd sssstttt____aaaaddddddddttttqqqq((((lllloooonnnngggg iiiiaaaauuuuxxxx,,,, lllloooonnnngggg ttttqqqq))));;;;
-
- lllloooonnnngggg sssstttt____ttttqqqqhhhhiiiigggghhhh____aaaauuuuxxxx((((lllloooonnnngggg iiiiaaaauuuuxxxx))));;;;
-
- vvvvooooiiiidddd sssstttt____sssshhhhiiiiffffttttttttqqqq((((iiiinnnntttt iiiiaaaauuuuxxxx,,,, iiiinnnntttt ttttqqqq))));;;;
-
- lllloooonnnngggg sssstttt____iiiiaaaauuuuxxxx____ccccooooppppyyyyttttyyyy((((lllloooonnnngggg iiiiffffdddd,,,, ppppSSSSYYYYMMMMRRRR ppppssssyyyymmmm))));;;;
-
- vvvvooooiiiidddd sssstttt____cccchhhhaaaannnnggggeeeeaaaauuuuxxxx((((lllloooonnnngggg iiiiaaaauuuuxxxx,,,, AAAAUUUUXXXXUUUU aaaauuuuxxxx))));;;;
-
- vvvvooooiiiidddd sssstttt____cccchhhhaaaannnnggggeeeeaaaauuuuxxxxrrrrnnnnddddxxxx((((lllloooonnnngggg iiiiaaaauuuuxxxx,,,, lllloooonnnngggg rrrrffffdddd,,,, lllloooonnnngggg iiiinnnnddddeeeexxxx))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Auxiliary entries are unions with a fixed length of four bytes per entry.
- Much information is packed within the auxiliaries. Rather than have the
- compiler front-ends handle each type of auxiliary entry directly, the
- following set of routines provide a high-level scalar interface to the
- auxiliaries:
-
- _s_t__a_u_x_b_t_a_d_d
- Adds a type information record (TIR) to the auxiliaries. It sets
- the basic type (bt) to the argument and all other fields to zero.
- The index to this auxiliary entry is returned.
-
- _s_t__a_u_x_b_t_s_i_z_e
- Sets the bit in the TIR, pointed to by the _i_a_u_x argument. This
- argument says the basic type is a bit field and adds an auxiliary
- with its width in bits.
-
- _s_t__a_u_x_i_s_y_m_a_d_d
- Adds an index into the symbol table (or any other scalar) to the
- auxiliaries. It sets the value to the argument that will occupy all
- four bytes. The index to this auxiliary entry is returned.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- SSSSTTTTAAAAUUUUXXXX((((3333XXXX)))) SSSSTTTTAAAAUUUUXXXX((((3333XXXX))))
-
-
-
- _s_t__a_u_x_r_n_d_x_a_d_d
- Adds a relative index, RNDXR, to the auxiliaries. It sets the rfd
- and index to their respective arguments. The index to this
- auxiliary entry is returned.
-
- _s_t__a_u_x_r_n_d_x_a_d_d__i_d_n
- Works the same as _s_t__a_u_x_r_n_d_x_a_d_d except that RNDXR is referenced by
- an index into the dense number table.
-
- _s_t__i_a_u_x__c_o_p_y_t_y
- Copies the type from the specified file (ifd) for the specified
- symbol into the auxiliary table for the current file. It returns
- the index to the new aux.
-
- _s_t__s_h_i_f_t_t_q
- Shifts in the specified type qualifier, tq (see sym.h), into the
- auxiliary entry TIR, which is specified by the `iaux' index into the
- current file. The current type qualifiers shift up one tq so that
- the first tq (tq0) is free for the new entry.
-
- _s_t__a_d_d_t_q
- Adds a type qualifier in the highest or most significant non-tqNil
- type qualifier.
-
- _s_t__t_q_h_i_g_h__i_a_u_x
- Returns the most significant type qualifier given an index into the
- files aux table.
-
- _s_t__c_h_a_n_g_e_a_u_x
- Changes the iauxth aux in the current file's auxiliary table to aux.
-
- _s_t__c_h_a_n_g_e_a_u_x_r_n_d_x
- Converts the relative index (RNDXR) auxiliary, which is specified by
- iaux, to the specified arguments.
-
- The programs must be loaded with the object file access routine library
- libmld.a.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- stfd(3x), syms(4).
-
- BBBBUUUUGGGGSSSS
- The interface will added to incrementally, as needed.
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-